//package com.thinksns.sociax.t4.adapter;
//
//import android.support.v4.app.Fragment;
//import android.support.v4.app.FragmentManager;
//import android.support.v4.app.FragmentPagerAdapter;
//import android.view.ViewGroup;
//
//import com.thinksns.sociax.t4.android.event.EventFragment;
//
//import java.util.List;
//
///**
// * Created by zhiyicx on 2017/5/3.
// */
//
//public class EventPagerAdapter extends FragmentPagerAdapter {
//    private List<EventFragment> eventFragments;
//
//    public EventPagerAdapter(FragmentManager fm, List<EventFragment> eventFragments) {
//        super(fm);
//        this.eventFragments = eventFragments;
//    }
//
//    @Override
//    public Fragment getItem(int position) {
//        return eventFragments.get(position);
//    }
//
//    @Override
//    public int getCount() {
//        return eventFragments.size();
//    }
//
//    @Override
//    public void destroyItem(ViewGroup container, int position, Object object) {
//        super.destroyItem(container, position, object);
//    }
//}
